<?php

//Show IN !!
include "config.php";
	//echo "<script src = 'script/jquery-2.1.1.min.js'></script>";
	//echo "<script src = 'script/show_in.js'></script>";
	echo "<link rel='stylesheet' type='text/css' href='style/show_in.css'>";
	$sql = mysql_query("Select * from img limit 2");

	while ($row = mysql_fetch_array($sql)){
	date_default_timezone_set("Brazil/East");
	echo "<div id = 'post_titulo'>". $row['nome']."</div>";	
	echo "<div id = 'dados'><div id = 'c'><img class = 'q' src = imagens/".$row['nome'].".".$row['formato']."></div>";
	echo "<div id = 'data'>".$row['hora']."</div>";
	echo "<div id = 'fix'><div id = 'texto'>";
	echo "<table width= '95%'>";
	echo "<th> Nome : </th><td>".$row['nome']."</td>";
	echo "<th> Postado por : </th><td>".$row['user_p']."</td>";
	echo "<th> Formato : </th><td>".$row['formato']."</td>";
	echo "</table>";
	echo "</div></div></div>";

}


?>